package com.thirteen.app.daoTest;

import com.thirteen.app.dto.CreatePaperResponse.CollegeDto;
import com.thirteen.app.entity.College;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollegeDao {

    //    查出所有学院
    List<CollegeDto> queryAllCollege();

    College queryById(Integer collegeId);

    List<College> queryAllByLimit(@Param("offset") int offset, @Param("limit") int limit);

    int insert(College examcollege);

    int update(College examcollege);

    int deleteById(Integer collegeid);

    int getCollegeCount();

    List<College> queryAll();

}
